package org.huang.mybatis.demo.dto;

import org.huang.mybatis.demo.model.Student;
import org.huang.mybatis.demo.model.TClass;

import java.util.List;

/**
 * @描述：TClassDto类描述
 * @作者: huanganwei
 * @创建时间: 2018-11-14 13:35:16
 * @版本: 1.0
 */
public class TClassDto {

    private Integer id;

    private String name;

    private List<Student> students;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }
}
